package com.hhit.bigscreenbackmanage.service.tgygl;

import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.entity.tgygl.TgyglFileEntity;
import org.seimicrawler.xpath.JXNode;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface TgyglService {

    Map<String,Object> uploadFile(MultipartFile[] file) throws Exception;

    Map<String,Object> insertFile(TgyglFileEntity entity) throws Exception;

    /**
     * 查询多条数据
     *
     * @param jsonObject 查询条件
     * @return 对象列表
     */
    Map<String,Object> queryAllByLimit(JSONObject jsonObject);


    int deleteByPrimaryKey(Integer id);

    TgyglFileEntity initTitles(List<JXNode> jxNode);

    TgyglFileEntity selectByPrimaryKey(Integer id);

}
